package com.alibaba.travel.article.dto;

import com.alibaba.travel.article.entity.ArticleEntity;
import com.alibaba.travel.article.entity.ArticleTagEntity;
import com.alibaba.travel.article.entity.SpecialColumnEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/02/27/17:13
 * @Description:
 */
@ApiModel(description = "文章查询请求实体")
@Data
public class ArticleResponse extends ArticleEntity {

    @ApiModelProperty(value = "完整的文章内容", required = true)
    private String content;

    @ApiModelProperty(value = "标签列表", required = true)
    private List<ArticleTagEntity> tagEntityList;

    @ApiModelProperty(value = "专栏列表", required = true)
    private List<SpecialColumnEntity> columnEntityList;


    /*    @ApiModelProperty(value = "标签Id", required = true)
        private Long[] tagIds;

        @ApiModelProperty(value = "专栏id", required = true)
        private Long[] columnIds;*/
}
